package com.zmn.plat.admin.controller.notice;

import com.alibaba.dubbo.config.annotation.Reference;
import com.zmn.mcc.dubbo.interfaces.dept.DeptListRemoteService;
import com.zmn.mcc.dubbo.interfaces.organize.OrganizeListRemoteService;
import com.zmn.plat.business.interfaces.notice.NoticeBService;
import com.zmn.plat.dubbo.utils.DubboConsts;
import com.zmn.plat.services.interfaces.notice.NoticeService;
import com.zmn.plat.admin.controller.PlatBaseController;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.annotation.Resource;

/**
 * 公告管理
 *
 * @author linfeng
 *
 * @since 2020/12/07 10:44
 */
public class NoticeBaseController extends PlatBaseController {
    protected Logger logger = LoggerFactory.getLogger(this.getClass());
    @Resource
    protected NoticeService noticeService;

    @Resource
    protected NoticeBService noticeBService;

    @Reference(version = DubboConsts.INTERFACE_VERSION, check = false)
    protected OrganizeListRemoteService organizeListRemoteService;

    @Reference(version = DubboConsts.INTERFACE_VERSION, check = false)
    protected DeptListRemoteService deptListRemoteService;
}
